@import '../../styles/variables.scss';

.knowledge-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28rpx 30rpx;
  width: 680rpx;
  border-radius: $border-radius-large;
  background: $white;
  border: 2px solid $border-color;
  gap: 16rpx;
  
  &-header {
    width: 340rpx;
    height: 54rpx;
    display: flex;
    align-items: flex-end;
  }
  
  &-title {
    line-height: 54rpx;
    width: 144rpx;
    height: 54rpx;
    font-size: 36rpx;
    font-weight: 700;
    background: linear-gradient(to top, $primary-color 50%, transparent 50%);
  }
  
  &-subtitle {
    width: 168rpx;
    height: 36rpx;
    font-size: 24rpx;
    font-weight: 700;
  }
  
  &-content {
    flex: 1;
    font-size: 24rpx;
    font-weight: 400;
    line-height: 40rpx;
    text-align: justify;
  }
  
  &-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 140rpx;
    height: 25rpx;
  }
  
  &-icon {
    width: 30rpx;
    height: 25rpx;
    object-fit: cover;
  }
}